package com.yix.admin.modules.system.service;

import com.yix.admin.modules.system.entity.dto.SysUserDto;
import lombok.RequiredArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.CacheConfig;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author wdx
 * @version 1.0
 * @Description 数据权限服务类
 * @date 2021/2/2 13:53
 */
public interface DataService {
    /**
     * 获取数据权限
     * @param user /
     * @return /
     */
    List<String> getDeptIds(SysUserDto user);
}
